﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1.DesignerPatter.Observer
{
    class NbaObserver : Observer
    {
        public NbaObserver(Isubject isub, string name):base(isub,name)
        { 
            
        }

        public override void Update()
        {
            Console.WriteLine(string .Format("{0} {1} 关闭转播，继续工作!",Isub.SubjectState ,name));
        }
    }
}
